package com.johnzer.frame.network.interfaces;

import okhttp3.Headers;

/**
 * Created by johnzer on 2017/3/21.
 */

public interface IHttpCallback<T> {
    //
    void onStart();
    //
    void onSuccess(T t, Headers headers);

    void onError(int code, String message);

    void onComplete();
}
